using System;

namespace Sedna.Core.Messaging
{
	/// <summary>
	/// This exception (or any successor thereof) is thrown in case of 
	/// any error that happens while trying to send a message.
	/// If an underlying implementation or anything else lying below the 
	/// messaging layer throws an Exception, that Exception is wrappen within 
	/// an instance of this MessageException class
	/// </summary>
	public class MessageException : Exception
	{
		public MessageException()
		{
		}

		public MessageException(string message) : base(message)
		{
		}

		public MessageException(string message, Exception innerException) : base(message, innerException)
		{
		}
	}
}
